﻿using WpfApp1.Model;
using Xceed.Wpf.Toolkit;

namespace WpfApp1.ViewModel
{
    class TrainFormViewModel : NoticeObject
    {
        private TrainModel train=new TrainModel() { };

        internal TrainModel Train { get { return train; } set { train = value;RaisePropertyChanged("Train"); } }

        public TrainFormViewModel()
        {
            if (train == null)
            {
                train = new TrainModel();
            }
        }
    }
}
